package com.qiaofang.collectmanage.stub.constants;

public  enum ElementRuleResponseCode {
    RC_PARAMETER_ERROR("elementrule001","parameter invalid"),
    RC_EXCEPTION_ERROR("elementrule002","service exception"),
    RC_SAVE_ERROR("elementrule100","保存数据失败"),
    RC_UPDATE_ERROR("elementrule101","更新数据失败"),
    RC_UPDATE_BATCH_ERROR("elementrule103","批量更新数据失败"),
    ADD_ELEMENTRULE_DUPLICATE("addElementRuleDuplicate","请先删除元素采集规则，再添加新规则"),
    ADD_INVALID_FIELD("addInvalidField","无效解析字段"),
    RC_REMOVE_ERROR("elementrule102","删除数据失败");
	private String responseCode;
    private String responseMessage;

    ElementRuleResponseCode(String responseCode, String responseMessage){
        this.responseCode = responseCode;
        this.responseMessage = responseMessage;
    }

    public String getResponseCode() {
        return responseCode;
    }

    public void setResponseCode(String responseCode) {
        this.responseCode = responseCode;
    }

    public String getResponseMessage() {
        return responseMessage;
    }

    public void setResponseMessage(String responseMessage) {
        this.responseMessage = responseMessage;
    }
    
}
